package com.sunwayhorizo.health.platform.common;

import com.sunwayhorizo.health.platform.security.persistent.SecurityAccount;
import com.sunwayhorizo.health.platform.security.persistent.SecurityOperation;
import com.sunwayhorizo.health.platform.security.persistent.SecurityPermission;
import com.sunwayhorizo.health.platform.security.persistent.SecurityResource;
import com.sunwayhorizo.health.platform.security.persistent.SecurityRole;

public class SecurityQueryConditions
{
    private SecurityAccount account;
    private SecurityOperation operation;
    private SecurityPermission permission;
    private SecurityResource resource;
    private SecurityRole role;
    
    public SecurityQueryConditions(SecurityAccount account, SecurityOperation operation, SecurityPermission permission, SecurityResource resource,
            SecurityRole role)
    {
        super();
        this.account = account;
        this.operation = operation;
        this.permission = permission;
        this.resource = resource;
        this.role = role;
    }

    public SecurityQueryConditions()
    {
        super();
    }

    public SecurityAccount getAccount()
    {
        return account;
    }

    public void setAccount(SecurityAccount account)
    {
        this.account = account;
    }

    public SecurityOperation getOperation()
    {
        return operation;
    }

    public void setOperation(SecurityOperation operation)
    {
        this.operation = operation;
    }

    public SecurityPermission getPermission()
    {
        return permission;
    }

    public void setPermission(SecurityPermission permission)
    {
        this.permission = permission;
    }

    public SecurityResource getResource()
    {
        return resource;
    }

    public void setResource(SecurityResource resource)
    {
        this.resource = resource;
    }

    public SecurityRole getRole()
    {
        return role;
    }

    public void setRole(SecurityRole role)
    {
        this.role = role;
    }
}
